package com.tools.ad.bean;

import android.graphics.drawable.Drawable;

/**
 * desc:
 * date: 2018/3/22
 * author: ancun
 */

public class AppInfo {

    private String packageName;

    private String label;

    private Drawable icon;

    private long size;

    /**
     * 目前区分 安装、卸载
     */
    private String action;

    public AppInfo() {
    }

    public AppInfo(String packageName, String label, Drawable icon, long size, String action) {
        this.packageName = packageName;
        this.label = label;
        this.icon = icon;
        this.size = size;
        this.action = action;
    }

    public AppInfo(String packageName, String action) {
        this.packageName = packageName;
        this.action = action;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public Drawable getIcon() {
        return icon;
    }

    public void setIcon(Drawable icon) {
        this.icon = icon;
    }

    public long getSize() {
        return size;
    }

    public void setSize(long size) {
        this.size = size;
    }

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }
}
